package com.springboot.astra.bean;

public class Permission {
    private Integer id;
    private String resourceName;
    private String createTime;
    private String updateTime;
    private String permissionKey;
    private String permissionName;
    private Integer resourceId;

    public Permission() {
    }

    public Permission(Integer id, String resourceName, String createTime, String updateTime, String permissionKey, String permissionName, Integer resourceId) {
        this.id = id;
        this.resourceName = resourceName;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.permissionKey = permissionKey;
        this.permissionName = permissionName;
        this.resourceId = resourceId;
    }

    public Integer getId() {
        return id;
    }

    public Integer getResourceId() {
        return resourceId;
    }

    public void setResourceId(Integer resourceId) {
        this.resourceId = resourceId;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getPermissionName() {
        return permissionName;
    }

    public void setPermissionName(String permissionName) {
        this.permissionName = permissionName;
    }

    public Integer getSys_permissionId() {
        return id;
    }

    public void setSys_permissionId(Integer sys_permissionId) {
        this.id = sys_permissionId;
    }

    public String getResourceName() {
        return resourceName;
    }

    public void setResourceName(String resourceName) {
        this.resourceName = resourceName;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public String getPermissionKey() {
        return permissionKey;
    }

    public void setPermissionKey(String permissionKey) {
        this.permissionKey = permissionKey;
    }
}
